package com.feng.financial.api.service;

import com.feng.financial.api.to.QueryAllProductByPageReq;
import com.feng.financial.entity.ProductEntity;
import com.googlecode.jsonrpc4j.JsonRpcService;

import java.util.List;

/**
 * @author Administrator
 */
@JsonRpcService("rpc/products")
public interface ProductRpcService {

    List<ProductEntity> queryAllProductByPage(QueryAllProductByPageReq queryAllProductByPageReq);

    ProductEntity findOneProduct(String id);



}
